package com.sky.service;


import com.sky.domain.OrderBackfeeItem;
import com.sky.dto.OrderBackfeeDto;
import com.sky.dto.OrderBackfeeFormDto;
import com.sky.vo.DataGridView;

import java.util.List;

/**
 * @author sky
 * @create 2021-07-19 16:14
 */
public interface OrderBackfeeService {

    /**
     * 分页查询所有退费订单
     */
    DataGridView queryAllOrderBackfeeForPage(OrderBackfeeDto orderBackfeeDto);

    /**
     * 根据退费单ID查询退费单详情
     */
    List<OrderBackfeeItem> queryOrderBackfeeItemByBackId(String backId);

    /**
     * 保存退费单及详情
     */
    void saveOrderAndItems(OrderBackfeeFormDto orderBackfeeFormDto);

    /**
     * 退费成功
     */
    void backSuccess(String backId, String payPlatformId, String backType);
}
